﻿@using System.Configuration
@using KMF.WebUI
@model KMF.Common.WebInfoDto
@{
    var hostContainImages = ConfigurationManager.AppSettings["HostContainImages"];
}
<div class="layout-width">
    @Html.Action("FooterBottomOne", "Home")

    @Html.Action("HomeFooterText", "Home")

    <div class="bg-footer">
        <div style="font-size: 11px; color: #ccc; padding-left: 20px; display: none;">
            @@Được phát triển bởi <a rel="author" href="https://plus.google.com/107287656763890500433/about" style="font-size: 11px;" target="blank">KMF</a> 2013
            <div itemscope itemtype="http://schema.org/Recipe">
                <span itemprop="name">Đồ Sơ Sinh Babo</span>
                <img itemprop="image" src="@hostContainImages/upload/WebInfo/@Model.LogoPath" alt="đồ sơ sinh babo">
                <div itemprop="aggregateRating" itemscope="" itemtype="http://schema.org/AggregateRating">
                    <span itemprop="ratingValue">9</span>/<span itemprop="bestRating">10</span>
                    <span itemprop="ratingCount">99</span> bình chọn
                </div>
            </div>
        </div>
    </div>
    <div class="bb_footer_content">
        <div class="clearfix">
            <div class="f-item1">
                <a href="/" rel="nofollow">
                    
                    <img src="@hostContainImages/upload/WebInfo/@Model.LogoPath" width="166" height="59" alt="Sho mẹ và bé BABO" />
                </a>
            </div>
            <div class="f-item2">
                <div style="padding-left: 26px;">
                    <div class="bb-f-info">
                        @{
                            var webInfoContact = ConfigInfo.GetByKey("Dia-Chi-Lien-He");
                        }
                        @if (!string.IsNullOrEmpty(webInfoContact))
                        {
                            @Html.Raw(webInfoContact)
                        }
                        else
                        {
                            @Html.Raw(ConfigInfo.GetByKey("Dia-Chi-Lien-He", "TextEditor", @"<p style='margin-top:0px;'>
                                  <strong>BABO Hà Nội</strong><br>
                                  Số 11 Tô Vĩnh Diện - Khương Trung - Thanh Xuân - HN<br>Tel: (04) 3562 7737<br>Hotline: 0948 91 3838<br>Email: babo.vn@gmail.com<br>
                                  Website: <a rel='nofollow' href='http://babo.vn'>www.babo.vn</a> -
                                  <a target='blank' rel='nofollow' href='http://dososinh.com.vn'>dososinh.com.vn</a></p>", "Thông tin địa chỉ liên hệ"))
                        }
                    </div>

                    @{
                        var webInfoSocial = ConfigInfo.GetByKey("Social");
                    }
                    @if (!string.IsNullOrEmpty(webInfoSocial))
                    {
                        @Html.Raw(webInfoSocial)
                    }
                    else
                    {
                        @Html.Raw(ConfigInfo.GetByKey("Social", "StaticHtml", @"<div class='bb-f-social clearfix'>
                                                <ul>
                                                    <li class='f-fb'>
                                                        <a href='https://www.facebook.com/pages/BABO-%C4%90%E1%BB%93-S%C6%A1-Sinh/680681438611293' rel='nofollow'>
                                                            Facebook
                                                        </a>
                                                    </li>
                                                    <li class='f-plus'>
                                                        <a href='https://plus.google.com/117587142630047705538/' rel='nofollow'>
                                                            Google+
                                                        </a>
                                                    </li>
                                                    <li class='f-youtube'>
                                                        <a href='http://www.youtube.com/channel/UCVA-KHkKj6FJKTRFHI22JxA' rel='nofollow'>
                                                            Youtube
                                                        </a>
                                                    </li>
                                                    <li class='f-zingme'>
                                                        <a href='#' rel='nofollow'>
                                                            Zingme
                                                        </a>
                                                    </li>
                                                    <li class='f-twitter'>
                                                        <a href='https://twitter.com/babovn' rel='nofollow'>
                                                            Twitter
                                                        </a>
                                                    </li>
                                                </ul>
                                            </div>", 
                          "Thông tin mạng xã hội"))
                    }
                    
                    
                </div>
            </div>
            <div class="f-item3">
                <div style="padding-left: 26px;">
                    <div style="padding-bottom: 5px;font-size: 11px;">
                        <b>Đăng ký nhận tin khuyến mại</b>
                    </div>
                    <div>
                        <div class="clearfix">
                            <div style="float: left; width: 212px;">
                                <input type="text" class="f-input" value="Email..." onfocus="if(this.value =='Email...' ){ this.value=''};" onblur="if(this.value=='') {this.value='Email...'}; " />
                            </div>
                            <div style="float: left; width: 50px;">
                                <input type="button" class="f-btn" value="Gửi" />
                            </div>
                        </div>
                    </div>
                    <div style="padding-bottom: 15px;font-size: 11px;">
                        <b>Thanh toán</b>
                    </div>
                    <div class="clearfix">
                        <a href="" rel="nofollow" class="f-cod">COD</a>
                        <a href="" rel="nofollow" class="f-visa">VISA</a>
                        <a href="" rel="nofollow" class="f-master">MASTER</a>
                    </div>
                </div>
            </div>
        </div>
    </div>

    <div class="footer-tag">
        @{
            var FooterTag = ConfigInfo.GetByKey("Footer-tag");
        }
        @if (!string.IsNullOrEmpty(FooterTag))
        {
            @Html.Raw(FooterTag)
        }
        else
        {
            @Html.Raw(ConfigInfo.GetByKey("Footer-tag", "TextEditor", @"<p>", "Footer-tag"))
        }
    </div>
</div>
